package com.smag.system.service;

import com.smag.common.core.domain.AjaxResult;
import com.baomidou.mybatisplus.extension.service.IService;
import com.smag.system.domain.FarmOrderProduct;
import com.smag.system.domain.dto.AddProductOrderDto;

/**
* @author hzqhzq
* @description 针对表【farm_order_product】的数据库操作Service
* @createDate 2023-04-26 10:35:15
*/
public interface FarmOrderProductService extends IService<FarmOrderProduct> {

    AjaxResult addProductOrder(Long userId, AddProductOrderDto addProductOrderDto);

    AjaxResult listOrders(Long userId);

    AjaxResult payOrder(Long orderId);
}
